package ucd.csi.comp30220.fall2011.oteop.airline;

import java.io.Serializable;

public final class AirlineInfo implements Serializable {
    
    private static final long serialVersionUID = -3347691885716014767L;
    
    private String code;
    private String name;
    
    public AirlineInfo(String code, String name) {
        this.code = code;
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
    
    @Override
    public String toString() {
        return "AirlineInfo [code=" + code + ", name=" + name + "]";
    }
}
